package com.service.dao.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 锁仓记录
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("hm_member_bank_lock")
public class MemberBankLock implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id主键
	 */
	@TableId
	private Integer id;

	/**
	 * 操作人id
	 */
	private Integer memberId;

	/**
	 * 锁仓币种id
	 */
	private Integer coinsId;

	/**
	 * 锁仓币种id
	 */
	private String coinsName;

	/**
	 * 锁仓金额
	 */
	private BigDecimal lockNum;

	/**
	 * 利率
	 */
	private BigDecimal rate;

	/**
	 * 锁仓累计收入
	 */
	private BigDecimal totalIncome;

	/**
	 * 开始锁仓日期
	 */
	private Date startTime;

	/**
	 * 结束锁仓日期
	 */
	private Date endTime;
	/**
	 * 锁仓状态
	 */
	private Integer lockStatus;

	private Date createTime;

	private Date updateTime;
}
